﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace WorkDAL
{
    public class WorkObject : Work
    {
        public string StatusViet 
        { 
            get { return WorksDataAccess.Instance().GetTypes(Status).ToList()[0].Descriptions.ToString();}
        }

        public Image IconStatus
        {
            get { return Common.IconsHelper.GetBitmap(WorksDataAccess.Instance().GetTypes(Status).ToList()[0].Icon.ToString()); }
        }
    }
}
